package com.learn.proxy;

import com.learn.proxy.Data;
import com.learn.proxy.UnifiedInterface;
import lombok.extern.slf4j.Slf4j;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Proxyed </p>
 *
 * <p>描述: 被代理的类 </p>
 *
 * The object to be proxyed.
 */
@Slf4j
public class Proxyed implements UnifiedInterface {

    @Override
    public void consume(Data data) {
        log.info(data.toString());
    }
}
